<!DOCTYPE html>
<html>

<head>
    <style>
        p:nth-child(1){
            text-align: center;
        }

        p:nth-child(2){
            text-decoration: overline;
        }

        p:nth-child(3){
            text-decoration: line-through;
        }

        p:nth-child(4){
            text-decoration: underline;
        }

        a{
            color: black;
            text-decoration: none;
        }

        p:nth-child(6){
            letter-spacing: 10px;
        }

        p:nth-child(7){
            font-weight: bold;
        }

        p:nth-child(8){
            font-style: italic;
        }

        p:nth-child(9){
            font-variant: small-caps;
        }

        p:nth-child(10){
            font-size: 20px;
        }

        p:nth-child(11){
            text-align: right;
        }

        p:nth-child(12){
            text-align: 2em;
        }

        p:nth-child(13){
            text-indent: 2em;
        }
    </style>
</head>

<body>
    <p>文字垂直居中</p>
    <p>这是上划线</p>
    <p>这是删除线</p>
    <p>这是下换线</p>
    <p><a href="#">这是链接</a></p>
    <p>字符间隔为10像素</p>
    <p>这是粗体</p>
    <p>这是斜体</p>
    <p>这是小型大写字母example</p>
    <p>这是20像素大小字体</p>
    <p>这是靠右对齐</p>
    <p>这是2em大小字体</p>
    <p>这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进这是首行缩进</p>
</body>

</html>